package com.ferry.transport.netty.provider;

import com.ferry.registry.domain.service.ServiceMetaData;

import java.io.Serializable;

/**
 * Created by daiyong
 */
public class MessageWrapper implements Serializable {

	private static final long serialVersionUID = -7085619214730904223L;

	private ServiceMetaData serviceMetaData;
	private String appName;                 // 应用名称
	private String methodName;              // 目标方法名称
	private Object[] args;                  // 目标方法参数

	public ServiceMetaData getServiceMetaData() {
		return serviceMetaData;
	}

	public void setServiceMetaData(ServiceMetaData serviceMetaData) {
		this.serviceMetaData = serviceMetaData;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public Object[] getArgs() {
		return args;
	}

	public void setArgs(Object[] args) {
		this.args = args;
	}
}
